<el-form ref="form" :model="form">
    <el-row :gutter="10">
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="文件列表" class="c-upload-text">
                <el-upload
                        class="upload-demo"
                        ref="upload"
                        :action="files"
                        :data="data"
                        :on-preview="onPreview"
                        :before-upload="beforeUpload"
                        :on-remove="onRemove"
                        :file-list="fileList"
                        :on-success="onSuccess"
                        :auto-upload="true">
                    <el-button slot="trigger" size="small" type="primary">选取文件</el-button>
                </el-upload>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" style="text-align: right">
            <el-button icon="icon iconfont icon-23" size="mini" @click="cancel">关闭</el-button>
            <el-button type="warning" icon="icon iconfont icon-21" size="mini" @click="sure">确认</el-button>
        </el-col>
    </el-row>
</el-form>
<script>
    require(["pc/common/_open_upload"], $.noop);
</script>